home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cato / Xm / XmListReplacePositions.z / XmListReplacePositions
Text File  |  1998-10-20  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss - A List function that replaces items
  10.           in a list based on position
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////LLLLiiiisssstttt....hhhh>>>>
  14.  
  15.           vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss ((((_w_i_d_g_e_t, _p_o_s_i_t_i_o_n__l_i_s_t, _i_t_e_m__l_i_s_t, _i_t_e_m__c_o_u_n_t))))
  16.                WWWWiiiiddddggggeeeetttt    _w_i_d_g_e_t;;;;
  17.                iiiinnnntttt       ****_p_o_s_i_t_i_o_n__l_i_s_t;;;;
  18.                XXXXmmmmSSSSttttrrrriiiinnnngggg  ****_i_t_e_m__l_i_s_t;;;;
  19.                iiiinnnntttt       _i_t_e_m__c_o_u_n_t;
  20.  
  21.  
  22.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  23.           This page documents version 1.2 of the Motif library.
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeePPPPoooossssiiiittttiiiioooonnnnssss replaces noncontiguous items in a
  27.           list.  The item at each position specified in _p_o_s_i_t_i_o_n__l_i_s_t
  28.           is replaced with the corresponding entry in _i_t_e_m__l_i_s_t. When
  29.           the items are inserted into the list, they are compared with
  30.           the current XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss list.  Any of the new items
  31.           that match items on the selected list appears selected.  A
  32.           warning message is displayed if a specified position is
  33.           invalid; that is, the value is 0, a negative integer, or a
  34.           number greater than the number of items in the list.
  35.  
  36.  
  37.           _w_i_d_g_e_t    Specifies the ID of the List widget.
  38.  
  39.           _p_o_s_i_t_i_o_n__l_i_s_t
  40.                     Specifies an array of the positions of items to be
  41.                     replaced.  The position of the first item in the
  42.                     list is 1; the position of the second item is 2;
  43.                     and so on.
  44.  
  45.           _i_t_e_m__l_i_s_t Specifies an array of the replacement items.
  46.  
  47.           _i_t_e_m__c_o_u_n_t
  48.                     Specifies the number of elements in _p_o_s_i_t_i_o_n__l_i_s_t
  49.                     and _i_t_e_m__l_i_s_t.  This number must be non-negative.
  50.  
  51.  
  52.           For a complete definition of List and its associated
  53.           resources, see XXXXmmmmLLLLiiiisssstttt((((3333XXXX)))).
  54.  
  55.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  56.           XXXXmmmmLLLLiiiisssstttt((((3333XXXX)))).
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.